/*
 * Copyright (C) 2014 Realtek Semiconductor Corp.
 * All Rights Reserved.
 *
 * This program is the proprietary software of Realtek Semiconductor
 * Corporation and/or its licensors, and only be used, duplicated,
 * modified or distributed under the authorized license from Realtek.
 *
 * ANY USE OF THE SOFTWARE OTHER THAN AS AUTHORIZED UNDER
 * THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
 *
 */


#include "app_basic.h"

MIB_TABLE_INFO_T gMibPseudowireMaintenanceProfileTableInfo;
MIB_ATTR_INFO_T  gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ATTR_NUM];
MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_T gMibPseudowireMaintenanceProfileDefRow;
MIB_TABLE_OPER_T gMibPseudowireMaintenanceProfileOper;

GOS_ERROR_CODE PseudowireMaintenanceProfileDrvCfg(void* pOldRow, void* pNewRow, MIB_OPERA_TYPE operationType, MIB_ATTRS_SET attrSet, UINT32 pri)
{
    OMCI_LOG(OMCI_LOG_LEVEL_DBG, "Start %s...", __FUNCTION__);

    switch (operationType){
    case MIB_ADD:
    	OMCI_LOG(OMCI_LOG_LEVEL_DBG,"PseudowireMaintenanceProfile --> ADD");
    	break;
    case MIB_SET:
    	OMCI_LOG(OMCI_LOG_LEVEL_DBG,"PseudowireMaintenanceProfile --> SET");
    	break;
    case MIB_GET:
    	OMCI_LOG(OMCI_LOG_LEVEL_DBG,"PseudowireMaintenanceProfile --> GET");
    	break;
    case MIB_DEL:
    	OMCI_LOG(OMCI_LOG_LEVEL_DBG,"PseudowireMaintenanceProfile --> DEL");
    	break;
    default:
    	return GOS_FAIL;
    	break;
    }

    return GOS_OK;
}
GOS_ERROR_CODE mibTable_init(MIB_TABLE_INDEX tableId)
{
    gMibPseudowireMaintenanceProfileTableInfo.Name = "PseudowireMaintenanceProfile";
    gMibPseudowireMaintenanceProfileTableInfo.ShortName = "PMP";
    gMibPseudowireMaintenanceProfileTableInfo.Desc = "Pseudowire maintenance profile";
    gMibPseudowireMaintenanceProfileTableInfo.ClassId = (UINT32)(OMCI_ME_CLASS_PSEUDOWIRE_MAINTENANCE_PROFILE);
    gMibPseudowireMaintenanceProfileTableInfo.InitType = (UINT32)(OMCI_ME_INIT_TYPE_OLT);
    gMibPseudowireMaintenanceProfileTableInfo.StdType = (UINT32)(OMCI_ME_TYPE_STANDARD);
    gMibPseudowireMaintenanceProfileTableInfo.ActionType = (UINT32)(OMCI_ME_ACTION_CREATE | OMCI_ME_ACTION_DELETE | OMCI_ME_ACTION_SET | OMCI_ME_ACTION_GET);
    gMibPseudowireMaintenanceProfileTableInfo.pAttributes = &(gMibPseudowireMaintenanceProfileAttrInfo[0]);

    gMibPseudowireMaintenanceProfileTableInfo.attrNum = MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ATTR_NUM;
    gMibPseudowireMaintenanceProfileTableInfo.entrySize = sizeof(MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_T);
    gMibPseudowireMaintenanceProfileTableInfo.pDefaultRow = &gMibPseudowireMaintenanceProfileDefRow;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].Name = "EntityId";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Name = "JitterBufferMaximumDepth";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Name = "JitterBufferDesiredDepth";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "FillPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "MisconnectedDacketsDeclarationPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "MisconnectedPacketsClearPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "LossOfPacketsDeclarationPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "LossOfPacketsClearPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "BufferOverrunUnderrunDeclarationPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "BufferOverrunUnderrunClearPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "MalformedPacketsDeclarationPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "MalformedPacketsClearPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "RbitTransmitSetPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "RbitTransmitClearPolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "RbitReceivePolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Name = "LbitReceivePolicy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].Name = "SESThreshold";

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Entity ID";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Jitter buffer maximum depth";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Jitter buffer desired depth";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Fill policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Misconnected packets declaration policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Misconnected packets clear policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Loss of packets declaration policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Loss of packets clear policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Buffer overrun underrun declaration policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Buffer overrun underrun clear policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Malformed packets declaration policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Malformed packets clear policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Rbit transmit set policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Rbit transmit clear policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Rbit receive policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "Lbit receive policy";
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].Desc = "SES Threshold";

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT16;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT16;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT16;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT8;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].DataType = MIB_ATTR_TYPE_UINT16;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].Len = 2;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Len = 2;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].Len = 2;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].Len = 1;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].Len = 2;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].IsIndex = FALSE;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].MibSave = TRUE;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_HEX;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].OutStyle = MIB_ATTR_OUT_DEC;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].OltAcc = OMCI_ME_ATTR_ACCESS_READ | OMCI_ME_ATTR_ACCESS_WRITE | OMCI_ME_ATTR_ACCESS_SBC;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].AvcFlag = FALSE;

    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_ENTITYID_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_MANDATORY;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERMAXIMUMDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_JITTERBUFFERDESIREDDEPTH_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_FILLPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDDACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MISCONNECTEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LOSSOFPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_BUFFEROVERRUNUNDERRUNCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSDECLARATIONPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_MALFORMEDPACKETSCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITSETPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITTRANSMITCLEARPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_RBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_LBITRECEIVEPOLICY_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;
    gMibPseudowireMaintenanceProfileAttrInfo[MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_SESTHRESHOLD_INDEX - MIB_TABLE_FIRST_INDEX].OptionType = OMCI_ME_ATTR_TYPE_OPTIONAL;

    gMibPseudowireMaintenanceProfileDefRow.EntityId = 0;
    gMibPseudowireMaintenanceProfileDefRow.JitterBufferMaximumDepth = 0;
    gMibPseudowireMaintenanceProfileDefRow.JitterBufferDesiredDepth = 0;
    gMibPseudowireMaintenanceProfileDefRow.FillPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.MisconnectedDacketsDeclarationPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.MisconnectedPacketsClearPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.LossOfPacketsDeclarationPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.LossOfPacketsClearPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.BufferOverrunUnderrunDeclarationPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.BufferOverrunUnderrunClearPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.MalformedPacketsDeclarationPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.MalformedPacketsClearPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.RbitTransmitSetPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.RbitTransmitClearPolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.RbitReceivePolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.LbitReceivePolicy = 0;
    gMibPseudowireMaintenanceProfileDefRow.SESThreshold = 0;

    memset(&gMibPseudowireMaintenanceProfileOper, 0x0, sizeof(MIB_TABLE_OPER_T));
    gMibPseudowireMaintenanceProfileOper.meOperDrvCfg = PseudowireMaintenanceProfileDrvCfg;
    gMibPseudowireMaintenanceProfileOper.meOperConnCheck = NULL;
    gMibPseudowireMaintenanceProfileOper.meOperDump = omci_mib_oper_dump_default_handler;
    gMibPseudowireMaintenanceProfileOper.meOperConnCfg = NULL;
    gMibPseudowireMaintenanceProfileOper.meOperAvlTreeAdd = NULL;
    gMibPseudowireMaintenanceProfileOper.meOperAlarmHandler = NULL;
    gMibPseudowireMaintenanceProfileOper.meOperTestHandler = NULL;

    MIB_TABLE_PSEUDOWIREMAINTENANCEPROFILE_INDEX = tableId;
    MIB_InfoRegister(tableId, &gMibPseudowireMaintenanceProfileTableInfo, &gMibPseudowireMaintenanceProfileOper);
    MIB_RegisterCallback(tableId, NULL, NULL);

    return GOS_OK;
}

